Apparatus, system and method for offloading data transfer operations between source and destination storage devices to a hardware accelerator

ABSTRACT

Provided are an apparatus, system and method for offloading data transfer operations between source and destination storage devices to a hardware accelerator. The hardware accelerator includes a memory space and control logic to receive, from a host processor, a command descriptor indicating at least one source storage device having transfer data to transfer to at least one destination storage device and a computational task to perform on the transfer data. The control logic sends read commands to the at least one source storage device to read the transfer data to at least one read buffer in the memory space and performs the computational task on the transfer data to produce modified transfer data. The control logic writes the modified transfer data to at least one write buffer in the memory space to cause the modified transfer data to be written to the at least one destination storage device.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 16/383,490, filed Apr. 12, 2019. The entire specification of which is hereby incorporated by reference in its entirety.

TECHNICAL FIELD

Embodiments described herein generally relate to an apparatus, system and method for offloading data transfer operations between source and destination storage devices to a hardware accelerator.

BACKGROUND

Non-Volatile Memory Express (NVMe) is a logical device interface (http://www.nvmexpress.org) for accessing non-volatile storage media attached via a Peripheral Component Interconnect Express (PCIe) bus (http://www.pcsig.com). The non-volatile storage media may comprise a solid-state drive (SSD) or drives using other media. NVMe is designed for accessing low latency storage devices in computer systems, including personal and enterprise computer systems, and is also deployed in data centers requiring scaling to thousands of low latency storage devices.

In an NVMe environment, a host processor will manage access to numerous SSD devices. The host processor controls administration, managing the configuration of submission and completion queues for each detected SSD to direct Input/Output (I/O) requests to and from the attached SSDs. To perform a computation on data being transferred from a source SSD to a destination SSD, the host processor will read the data from the source SSD into the local host memory, then perform a computation locally on the read data or send it to an accelerator device, such as a Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), etc. The accelerator sends the processed data back to the host processor to transfer to the destination SSD.

There is a need in the art for improved technology for transferring data between storage devices and accelerators in a storage environment.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments are described by way of example, with reference to the accompanying drawings, which are not drawn to scale.

FIG. 1 illustrates an embodiment of a storage environment.

FIG. 2 illustrates an embodiment of a command descriptor to transfer data between source and destination storage devices.

FIG. 3 illustrates an embodiment of a table entry in a source information table and a destination information table having information on one or more source storage devices and destination storage devices involved in a data transfer.

FIG. 4 an embodiment of operations for a host processor to initialize components on a bus.

FIGS. 5 and 6 illustrate embodiments of operations for a hardware accelerator to process configuration commands from a host processor.

FIG. 7 an embodiment of operations for a hardware accelerator to process a command descriptor from a host processor to read data from one or more source storage devices to transfer to one or more destination storage devices.

FIG. 8 illustrates an embodiment of operations performed by a hardware accelerator to write the data read from the one or more source storage devices to one or more destination storage devices.

FIG. 9 illustrates an embodiment of operations performed by a hardware accelerator to return complete to the host processor for the command descriptor.

FIG. 10 illustrates an embodiment of a system in which the storage environment of FIG. 1 may be deployed.

DESCRIPTION OF EMBODIMENTS

Prior art data transfer operations using a host processor to manage the transfer of data between source and destination storage devices and performing a computation on the data being transferred results in bottlenecks at the host processor. The bottlenecks of the data transfer operations results in latency in host processor operations.

Described embodiments provide improvements to computer technology for transferring data between source and destination storage devices by configuring a hardware accelerator coupled to the host processor and storage devices over a bus interface, such as a PCIe bus, with the logical device interface data structures, such as NVMe submission and completion queues, required for handling the I/O operations. This configuration allows the hardware accelerator to manage and perform the I/O operations while also performing the requested computational operations on the data being transferred. In described embodiments, the host processor sets up the I/O submission and completion queues for all storage devices, such as SSD devices with an NVMe interface, that are connected on a host bus interface, such as a Peripheral Component Interconnect Express (PCIe) switch.

The host processor may configure the hardware accelerator memory space with the submission and completion queues as an extension of the host processor memory, such as Memory Mapped Input/Output (MMIO) space. The host processor offloads data transfer and computation operations by sending a command descriptor to the hardware accelerator specifying a computational task to perform on the data being transferred from one or more source storage devices to one or more destination storage devices. The hardware accelerator uses the logical device interface protocol (e.g., NVMe) and configured submission and completion queues to perform the read and write operations needed to transfer the data and perform computational operations specified in the command descriptor.

The described embodiments reduce host processor latency by offloading the read and write operations for a data transfer to the hardware accelerator that will also be performing the computational tasks on the data being transferred. Further, data throughput is improved by utilizing interfaces between the accelerator and storage devices on the bus (e.g., PCIe bus), and avoiding the front end host processor interface to the bus, which typically receives a substantial amount of the system traffic. Further host processor memory is conserved by using the memory of the hardware accelerator to manage the data transfer operations as well as the computational tasks to perform.

In the following description, numerous specific details such as logic implementations, opcodes, means to specify operands, resource partitioning/sharing/duplication implementations, types and interrelationships of system components, and logic partitioning/integration choices are set forth in order to provide a more thorough understanding of the present invention. It will be appreciated, however, by one skilled in the art that the invention may be practiced without such specific details. In other instances, control structures, gate level circuits and full software instruction sequences have not been shown in detail in order not to obscure the invention. Those of ordinary skill in the art, with the included descriptions, will be able to implement appropriate functionality without undue experimentation.

References in the specification to “one embodiment,” “an embodiment,” “an example embodiment,” etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Certain embodiments relate to storage device electronic assemblies. Embodiments include both devices and methods for forming electronic assemblies.

FIG. 1 illustrates an embodiment of a system having a host processor 100 in communication with a hardware accelerator 102 and a plurality of storage devices 104 ₁ . . . 104 _(n) over a bus interface 106, such as a Peripheral Component Interconnect Express (PCIe) bus 106, including bus components and a PCIe switch. After enumerating and initializing the storage devices 104 ₁ . . . 104 _(n), the host processor 100 configures a portion of a memory space 110 of the hardware accelerator 102, such as PCIe Base Address Registers (BAR) of the memory space 110, with submission/completion queues 112 ₁ . . . 112 _(n), read buffers 114 ₁ . . . 114 _(n), write buffers 116 ₁ . . . 116 _(n), and submission/completion queue doorbell addresses 118 ₁ . . . 118 _(n). for each storage device 104 ₁ . . . 104 _(n). The submission/ completion queues 112 ₁ . . . 112 _(n), read buffers 114 ₁ . . . 114 _(n), write buffers 116 ₁ . . . 116 _(n). in the hardware accelerator memory space 110 may be an extension of a memory space 120 of the host processor 100, such as with a Memory Mapped Input/Output (MMIO) memory space. In this way, the mapped memory space 110 of the hardware accelerator 102 provides an extension of the host processor memory space 120 to offload processing of storage device 104 ₁ . . . 104 _(n) read and write requests to the hardware accelerator 102. The submission/completion queue doorbell addresses 118 ₁ . . . 118 _(n), configured in the memory space 110 of the hardware accelerator 102 may point to addresses in memory spaces 122 ₁ . . . 122 _(n) of the storage devices 104 ₁ . . . 104 _(n) having the submission/completion queue doorbells 118 ₁ . . . 118 _(n) according to a memory mapping, such as MMIO.

The host processor 100 memory space 120 may be implemented in one or more volatile memory devices, such as Dual In-line Memory Modules (DIMMs).

The host processor 100, accelerator 102, and storage devices 104 ₁ . . . 104 _(n) include a host controller 126, accelerator engine 128, and storage device controller 130 ₁ . . . 130 _(n), respectively, to manage communication on the bus 106 and between the storage devices 104 ₁ . . . 104 _(n) using a logical device interface protocol, such as the Non-Volatile Memory Express (NVMe) protocol (this specification is available at http://www.nvmexpress.org) or other suitable logical device interface protocols. The submission and completion queues, and queue doorbells may function according to the NVMe protocol specification.

The submission/completion queues 112 _(i) and write 116 _(i) and read 114 _(i) buffers may be used to provide for Direct Memory Access (DMA) transfers of data for read and write requests between the hardware accelerator 102 and the storage devices 104 ₁ . . . 104 _(n), that bypasses the host processor 100 to offload the management of the read and write for the storage devices 104 ₁ . . . 104 _(n) to the hardware accelerator 102.

The host controller 126 maintains an accelerator administrative queue 132 to send administrative and configurations commands to the hardware accelerator 102 and storage administrative submission/completion queues 134 ₁ . . . 134 _(n) to initialize and configure the storage devices 104 ₁ . . . 104 _(n), respectively, over the bus 106.

The host controller 126 may generate command descriptors 200 to transfer data from one or more source storage devices 104s to one or more destination storage devices 104 _(D). The command descriptor 200 may reference a source information table 300 _(s) having information on the source storage devices 104 _(s) involved in the transfer and a destination information table 300 _(D) having information on the destination storage devices 104 _(D) to which the data is transferred.

The storage devices 104 ₁ . . . 104 _(n) further include storage dies 136 ₁ . . . 136 _(n), such as NAND storage dies for a sold state drive (SSD), in which the data is stored. The SSD may be implemented with different form factors, such as AIC, U.2, M.2, and the “ruler”, or Enterprise & Datacenter Storage Form Factor (EDSFF), form factor offered by Intel Corporation for space efficient capacity. In alternative embodiments, the storage devices 104 ₁ . . . 104 _(n) may implement other storage media, such as magnetic storage or electrically erasable and non-volatile memory cells, such as NAND dies (e.g., single level cell (SLC), multi-level cell (MLC), triple level cell (TLC) NAND memories, etc.), a ferroelectric random-access memory (FeTRAM), nanowire-based non-volatile memory, three-dimensional (3D) crosspoint memory such as phase change memory (PCM), memory that incorporates memristor technology, Magnetoresistive random-access memory (MRAM), Spin Transfer Torque (STT)-MRAM, SRAM, and other electrically erasable programmable read only memory (EEPROM) type devices.

The memory spaces 120, 110, and 122 ₁ . . . 122 _(n) may comprise volatile or non-volatile memory storage, such as Static Random Access Memory (SRAM) or other suitable memory device.

The host controller 126, accelerator engine 128, and storage device controllers 130 ₁ . . . 130 _(n) may be implemented in firmware in the hardware of the devices 100, 102, 104 ₁ . . . 104 _(n). The firmware may be updated. The host processor 100 may further include a processor complex 138.

The hardware accelerator 102 and control logic of the accelerator engine 128 may be implemented as a Field Programmable Gate Array (FPGA). Application Specific Integrated Circuit (ASIC) or other logic, including programmable logic. Further there may be multiple hardware accelerators 102 to manage data transfer and computational operations with respect to different groups of storage devices 104 _(i).

The hardware accelerator memory 110 can also include additional control registers that will be programmed by the host processor 100.

FIG. 2 illustrates an embodiment of the command descriptor 200 the host processor 100 generates to transfer data between the storage devices 104 ₁ . . . 104 _(n), and includes: a command identifier (ID) 202 of a unique identifier for the command; an acceleration task 204 for the hardware accelerator 102 to perform on data being transferred from the source storage device(s) to destination storage device(s), such as compression, decompression, encryption, decryption, deduplication, error correction, machine/deep learning training and inference, etc.; an operation code (opcode) 206 indicating the type of data transfer to be performed between the source and destination storage devices, including a single source storage device to single destination storage device, a single source storage device to multiple destination storage devices, multiple source destination storage devices to a single destination storage device, and multiple source storage devices to multiple destination storage devices; a source bitmap 208 having a bit for each enumerated storage device 104 ₁ . . . 104 _(n) indicating the source storage devices from which data is transferred; a destination bitmap 210 having a bit for each enumerated storage device 104 ₁ . . . 104 _(n) indicating the destination storage devices to which data is transferred; a first source address locations 212 indicating logical block addresses (LBA) or other addresses from which data is transferred in a first or only source storage device 104 _(S1); a first destination address locations 214 indicating LBA addresses in a first or only destination storage device 104 _(D1); source doorbell queue address 216 of the first or only source storage device 104 _(S1) to signal the first source storage device 104 _(S1) to access read commands from the submission queue 112 _(i) to read data to store in the read buffer 114 _(i); source information pointer 218 that points to a source information table 300 _(S) in the host memory space 120 providing addresses in additional source storage devices, if any, to transfer; a destination information pointer 220 that points to a destination information table 300 _(D) in the host memory space 120 providing addresses in additional destination storage devices, if any, to which the transferred data is written; and an interrupt vector, such as Message Signaled Interrupts (MSI-X), defining an interrupt path from the hardware accelerator 102 to the host processor 100 on the bus interface 106, and this field is used to enable or disable the interrupt when a command descriptor is completed by the hardware accelerator 102.

The source and destination addresses involved in the transfer indicated in fields 212, 214 and source 300 _(S) and destination 300 _(D) information tables may comprise a start LBA and a number of LBAs to transfer.

FIG. 3 illustrates an embodiment of a source/destination information table entry 300 _(i) in the source 300 _(S)/destination information table 300 _(D), which includes a queue doorbell address 302 to set once commands are available in the submission queue 112 _(i) for the source/destination storage device 104 _(i); a number of blocks 304, such as LBAs, to transfer; and a starting block 306 in the source/destination storage device 104 _(i) of the data to transfer.

In the embodiments of FIGS. 2 and 3, the address locations to transfer for a first or only source and destination storage devices are indicated in the fields 212, 214 and the address locations for additional source and destination storage devices are indicated in the source 300 _(S) and destination 300 _(D) information tables. In an alternative embodiment, the address locations for all the devices involved in the data transfer, such as the addresses indicated in fields 212 and 214 may be maintained in the entries of the source 300 _(S) and destination 300 _(D) information tables.

FIG. 4 illustrates an embodiment of operations performed by the host controller 126 firmware to configure the hardware accelerator 102 and storage devices 104 ₁ . . . 104 _(n) on the bus 106. Upon initiating (at block 400) system initialization, the host controller 126 enumerates and initializes (at block 402) all the devices on the bus 1-06 including the hardware accelerator 102 and storage devices 104 ₁ . . . 104 _(n), such as a PCIe enumeration process. The host controller 126 extends (at block 404) host address space in host memory 120 to address space in the memory 110 of the hardware accelerator (e.g., PCIe BAR memory space in the memory 110) to form memory mapped address space MMIO between host 100 and hardware accelerator 102. The host controller 126 sends (at block 406) configuration (e.g., PCIe configure MMIO) commands to the hardware accelerator 102 to configure read 114 ₁ . . . 114 _(n) and write 116 ₁ . . . 116 _(n) buffers and submission/completion queues 112 ₁ . . . 112 _(n) in the memory mapped address space between host memory 120 and hardware accelerator memory 110 for each enumerated storage device 104 ₁ . . . 104 _(n). The host controller 126 further sends (at block 408) configuration commands, e.g., NVMe administrator commands, to store addresses in the hardware accelerator memory space 120 which correspond to addresses in storage device memory space 122 ₁ . . . 122 _(n) of submission/completion queue doorbells 118 ₁ . . . 118 _(n) in each enumerated storage device 104 ₁ . . . 104 _(n) . The host controller 126 may send configuration commands to the hardware accelerator 102 via the accelerator administrator queue 132, which the hardware accelerator 102 accesses over the bus 106 when signaled via a submission queue doorbell (not shown).

With the embodiment of FIG. 4, the host controller 126 configures the logical device interface protocol (e.g., NVMe) submission/completion queues and doorbells needed in the hardware accelerator memory 110 to offload the management of read and write operations to the storage devices 104 ₁ . . . 104 _(n), data transfer operations, and accelerator task execution operations to the hardware accelerator 102 to improve performance at the host processor 100.

FIG. 5 illustrates an embodiment of operations performed by the accelerator engine 128, which includes hardware and/or firmware implementing PCIe bus protocols and the logical device interface protocol, such as the NVMe protocol, to process the configuration commands from the host processor 100. Upon receiving (at block 500) the configuration commands, the accelerator engine 128 configures, for each enumerated storage device 104 ₁ . . . 104 _(n), in the hardware accelerator memory space 110 that maps to the host memory space 120, the read 114 ₁ . . . 114 _(n). and write 116 ₁ . . . 116 _(n) buffers and submission/completion queues 112 ₁ . . . 112 _(n). The submission/completion queue doorbell addresses 118 ₁ . . . 118 _(n) are configured (at block 504) in the hardware accelerator memory space 110 that maps to the storage device memory space 122 ₁ . . . 122 _(n) for each enumerated storage device 104 ₁ . . . 104 _(n) .

With the embodiment of FIG. 5, the host processor 100 commands the hardware accelerator 102 to configure the queues and buffers needed to communicate with the storage devices 104 ₁ . . . 104 _(n) in the hardware accelerator memory space 110 that maps to the host memory space 120 to allow the host processor 100 to offload the management of read and write operations to the storage devices 104 ₁ . . . 104 _(n) to the hardware accelerator 102. The host processor 100 initializes all the storage devices enumerated on the bus 106 by issuing NVMe administrator commands and configures the hardware accelerator 102 by initializing a PCIe Bar register space in the accelerator memory 110. After these initialization operations, the hardware accelerator 102 is ready to process command descriptors 200 from the host processor 100.

FIG. 6 illustrates an alternative embodiment of operations implemented in the accelerator engine 128, implementing bus (PCIe) and storage (NVMe) protocols to control the configuration of the hardware accelerator 102 that involves the hardware accelerator performing the configurations. Upon the hardware accelerator 102 receiving (at block 600) from the host processor 100 bus mapping commands, such as PCIe BAR MMIO read/write (RW) commands, the accelerator engine 128 performs (at block 602) the operations at blocks 502 and 504 in FIG. 5 to configure read 114 _(i)/write 116 _(i) buffers, submission/completion queues 112 _(i) and submission/completion queue doorbell addresses 118, for each storage device 104 _(i).

With the embodiment of FIG. 6, the host processor 100 carries out the administrative commands and storage device enumeration. The hardware accelerator 102 acts as an NVMe initiator after the enumeration/initialization is complete, during which the accelerator 102 can initiate NVMe read/write transactions with the storage devices 104,.

With the operations of FIGS. 5 and 6, the host processor 100 configures the hardware accelerator 102 with all the required NVMe related queues and performs the NVMe initialization of the available storage devices 104 _(i) so there is no splitting of the control plane and data plane between the host processor 100 and the hardware accelerator 102. The control and data planes of the storage devices 104, reside in the hardware accelerator 102, thus making the hardware accelerator 102 a complete NVMe initiator for the storage devices 104 ₁ . . . 104 _(n). NVMe read and write operations are handled by the hardware accelerator 102.

FIG. 7 illustrates an embodiment of operations performed by the accelerator engine 128 in the hardware accelerator 102 to process a command descriptor 200 from the host processor 100 to effectuate a transfer of data from at least one storage device to at least one destination storage device. Upon receiving (at block 700) a command descriptor 200, the accelerator engine 128 determines (at block 702) a first source storage device 104 _(S1) from source bitmap 208 and first source address locations 212 for the first source storage device 104 _(S1). The accelerator engine 128 creates (at block 704) read requests, e.g., NVMe reads, to read the source transfer data from the first source storage device 104s, and includes the read requests in the submission queue 112s_(S1) for the first source storage device 104 _(S1). The accelerator engine 128 writes (at block 706) to the submission queue doorbell address 118 _(S1) for the first source storage device 104 _(S1) to cause the first source storage device 104s, to access the read requests in the submission queue 112 _(S1) and return the requested data at the first source address locations 212 to the read buffer 114 _(S1) for the first source storage device 104 _(S1). If (at block 708) the source bitmap 208 indicates there are additional source storage devices having transfer data, then the accelerator engine 128 uses (at block 710) the source information pointer 218 to access the source information table 300 _(S) from the host memory 120.

For each additional source storage device 104, indicated in the source bitmap 208, the accelerator engine 128 determines (at block 712) from the source information table entries 300 i the source storage device 104 _(i) doorbell queue address 118 _(i) and source addresses to transfer 304, 306 and performs the operations at blocks 704 and 706 to cause the storage device 104 _(i) to read the source addresses 304, 306 in the additional storage device 104 _(i) and write to the read buffer 114 _(i) for the additional storage device 104 _(i). Control ends after generating the writes for multiple of source storage devices (from block 712) or if the source bitmap 208 does not indicate additional storage devices 104 _(i) (from no branch of block 708).

FIG. 8 illustrates an embodiment of operations performed by the accelerator engine 128 in the hardware accelerator 102 to process a read complete in a completion queue 112 _(i) for storage device 104 _(i) to which read requests were sent. Upon receiving read completion in a completion queue 112 _(i), the accelerator engine 128 performs the acceleration task 204 indicated in the command descriptor 200 on the data transferred to the read buffer 114 _(i) to produce processed data. The accelerator engine 128 determines (at block 804) a destination storage device 104 _(j) to receive the processed data and determines the destination address locations in the determined destination storage device 104 _(D) to receive the processed data from the command descriptor 214 for the first destination storage device in destination bitmap 210 or from the destination entry 300 _(j) in destination information table 300 _(D) (addressed by destination information pointer 220) for additional destination storage devices 104 _(D). The determination of the destination storage device 104 _(j) and destination address location may involve determining the destination table entry 300 _(j) in the destination information table 300 _(D) corresponding to the source table entry 300 _(i) used to read the data, and then determining from fields 302 and 306 the destination storage device 104 _(j) and starting destination address 306. In one embodiment, each entry in the source information table 300 _(S) may have a corresponding entry in the destination information table 300 _(D). If one source storage device has data to transfer to multiple destination devices, then there may be multiple entries 300 _(i) in the source information table 300 _(S) for one source storage device indicating the different starting blocks 306 having source data for different destination storage devices for which there are multiple entries in the destination information table 300 _(D). Likewise, if one destination storage device receives data transferred from multiple source devices, then there may be multiple entries in the destination information table 300 _(S) for one destination device indicating the different starting blocks 306 to receive the data from the different source devices for which there are multiple entries in the source information table 300 _(S).

The accelerator engine 128 creates (at block 808) write requests, e.g., NVMe write requests, in the write buffer 116 _(j) for the determined destination storage device 104 _(j) to write the processed data to the determined destination addresses in the memory space 122 _(j) of the destination storage device 104 _(j) . The accelerator engine 128 writes (at block 810) to the submission queue doorbell address 118 _(j) for the destination storage device 104, to cause the destination storage device 104 _(j) to access the write requests, such as with NVMe commands, in the write buffer 116 _(j) to write the processed data to the destination storage device 104 _(j).

With the embodiment of FIGS. 7 and 8, the hardware accelerator 102 handles the transfer of data between source and destination storage devices and the performing of an acceleration task on the data being transferred to offload the management of the data transfer and processing operations from the host processor 100 to a dedicated hardware accelerator 102 to relieve processing burdens on the host processor 100. Further, described embodiments provide for DMA transfers over the bus 106 between the hardware accelerator 102 and the storage devices 104 ₁ . . . 104 _(n) to improve the transfer speed.

FIG. 9 illustrates an embodiment of operations performed by the accelerator engine 128 to return complete to the host processor 100 upon completing a transfer operation. Upon the accelerator engine 128 receiving write complete in all the completion queues 112 _(i) for all write requests to transfer all the data in the command descriptor 200, complete is returned with an interrupt, indicated in the interrupt vector map 222, (at block 902) to the host processor 100 with the command ID 202 indicating that the acceleration task and data transfer between specified source and destination storage devices completed.

FIG. 10 illustrates an additional embodiment where the hardware accelerator 102 is deployed as a systolic array of a multiplicity of hardware accelerators 1002 ₁, 1002 ₂, 1002 ₃ . . . 1002 _(m) and a multiplicity of storage devices 1004 ₁, 1004 ₂, 1004 ₃ . . . 1004 _(n) that are programmed by a host processor 1000, such as host processor 100, connected over a bus switch 1006, such as a PCIe switch, to operate in unison as a collective serial and/or parallel data flow engine.

In a systolic array a collection of accelerators may appear to the host processor 1000 as a single logical subsystem (thus the term systolic) with more performance or able to handle more complex offloads than the independent accelerators could achieve independently. This is achieved by partitioning the problem across the array elements in a manner that exploits parallel acceleration (for performance), serial processing (to enable more functionality), or a hybrid combination of parallel and serial operations, specific to the needs of the target workload.

For example, in a chassis with 16 to 32 slots, there may, by way of example, multiple hardware accelerators 1002 _(i) programmed as a single systolic array to manage operations for a plurality of storage devices 104 _(j) that are storing different types of time stamped sensor data from an auto-pilot development car (where you drive around with humans and simply record all the sensor data from video cameras, infrared cameras, lidar, sonar, etc. to capture a data set you can then analyze back in the lab). These multiple hardware accelerators in a systolic array work in parallel, each doing similar but different operations and computations with their respective data, and then pass their results on to a separate hardware accelerator in the same systolic array that is programmed to consolidate the input in some manner. The hardware accelerator 1002 _(j) performing the consolidation of input operation may write out the data to another storage device 104 _(i) as a result file.

For a systolic array, one of the hardware accelerators 1002 _(i) in the systolic array receives a command descriptor 200 and may perform part of the processing required by the command descriptor 200 and forward to one or more additional hardware accelerators in the group to perform additional processing for the command descriptor 200, so that multiple of the hardware accelerators in the systolic array are involved in processing in parallel or serial operations required by the command descriptor 200.

FIG. 11 illustrates an embodiment of a system 1100 in which the components of FIGS. 1 and 10 may be deployed. The system 1100 includes a processor 1104, comprising host processor 100, that communicates over a bus 1106, such as bus 106, with a system memory device 1108 in which programs, operands and parameters being executed are cached, and storage devices 1110, which may comprise the storage devices 104 ₁ . . . 104 _(n), such as solid state drive (SSD), that store programs and user data that may be loaded into the system memory 1108 for execution. The processor 1104 may offload operations, such as NVMe operations, to one or more hardware accelerators 1102, such as hardware accelerator 102 or systolic arrays of hardware accelerators 1002 ₁ . . . 1002 _(m). The processor 1104 may also communicate with Input/Output (I/O) devices 1112 a, 1112 b, which may comprise input devices (e.g., keyboard, touchscreen, mouse, etc.), display devices, graphics cards, ports, network interfaces, etc. The memory 1108 and storage device 1110 may be coupled to an interface on the system 1100 motherboard, mounted on the system 1100 motherboard, or deployed in an external memory device or accessible over a network.

It should be appreciated that reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Therefore, it is emphasized and should be appreciated that two or more references to “an embodiment” or “one embodiment” or “an alternative embodiment” in various portions of this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined as suitable in one or more embodiments of the invention.

The reference characters used herein, such as i, are used to denote a variable number of instances of an element, which may represent the same or different values, and may represent the same or different value when used with different or the same elements in different described instances.

Similarly, it should be appreciated that in the foregoing description of embodiments of the invention, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed subject matter requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description.

EXAMPLES

The following examples pertain to further embodiments.

Example 1 is an apparatus connected to a host processor and a plurality of storage devices including a memory space including read buffers and write buffers for the storage devices and control logic. The control logic receives, from the host processor, a command descriptor indicating at least one source storage device having transfer data to transfer to at least one destination storage device and a computational task to perform on the transfer data. The control logic sends read commands to the at least one source storage device to read the transfer data to at least one read buffer in the memory space and performs the computational task on the transfer data in the at least one read buffer to produce modified transfer data. The control logic writes the modified transfer data to at least one write buffer in the memory space to cause the modified transfer data to be written to the at least one destination storage device.

In Example 2, the subject matter of Examples 1 and 3-10 can optionally include that the command descriptor includes a pointer to information on addresses of the transfer data in the at least one of the source and destination storage devices in a host memory space of the host processor.

In Example 3, the subject matter of Examples 1, 2, and 4-10 can optionally include that the command descriptor includes a source pointer to source information in a host memory space of the host processor indicating the transfer data in a plurality of source storage devices and a destination pointer to destination information in the host memory space having locations in a plurality of destination storage devices to which the transfer data is transferred.

In Example 4, the subject matter of Examples 1-3 and 5-10 can optionally include that the source information includes a plurality of source entries for a plurality of source storage devices. Each source entry indicates an address range of a source storage device of the plurality of source storage devices having a portion of the transfer data. The destination information includes a plurality of destination entries for a plurality of destination storage devices, corresponding to the source entries. Each destination entry indicates destination addresses in a destination storage device of the plurality of destination storage devices to which the portion of the transfer data indicated in a corresponding source entry is transferred.

In Example 5, the subject matter of Examples 1-4 and 6-10 can optionally include that each of the source entries further includes a source queue doorbell address in one of the source storage devices and each of the destination entries includes a destination queue doorbell address in one of the destination storage devices. The control logic is further to write to a source queue doorbell address indicated in a selected source entry of the source information to cause the source storage device having the source queue doorbell address to transfer a portion of the transfer data indicated in the address range of the selected source entry. The control logic writes to a destination queue doorbell address indicated in a selected destination entry of the destination information to cause a destination storage device having the destination queue doorbell address to write the portion of the transfer data to the address range of the destination storage device indicated in the selected destination entry.

In Example 6, the subject matter of Examples 1-5 and 7-10 can optionally include that the control logic is further to receive configuration commands from the host processor to extend the memory space of the host processor. The read and the write buffers are configured in the mapped addresses in the memory space, and wherein the mapped addresses in the memory space extend a host memory space.

In Example 7, the subject matter of Examples 1-6 and 8-10 can optionally include that the control logic is further to receive, from the host processor, configuration commands to cause the control logic to configure read and write buffers in the memory space and configure submission queues in the memory space, wherein the control logic adds the read commands to the submission queues to cause source storage devices to transfer data to the read buffers and adds write commands to submission queues for the transfer data in the write buffers to cause destination storage devices to write the transfer data in the write buffers to the destination storage devices.

In Example 8, the subject matter of Examples 1-7 and 9-10 can optionally include that the configuration commands are further to cause the control logic to configure queue doorbell addresses in the memory space that point to addresses in the storage devices. Writing to one of the queue doorbell addresses for one of the storage devices causes that storage device to access a read or write request included in a submission queue for the storage device.

In Example 9, the subject matter of Examples 1-8 and 10 can optionally include that the control logic is further to receive, from the host processor, mapped memory addresses in the storage devices. In response to receiving the mapped memory addresses, the control logic is to configure the read and the write buffers in the memory space and configure submission and completion queues for the storage devices in the mapped memory addresses in the storage devices. The control logic adds the read commands to at least one submission queue for the at least one source storage device to read the transfer data and adds write commands to at least one submission queue for the at least one destination storage device to transfer the modified transfer data in at least one write buffer to the at least one destination storage device in response to complete returned in at least one of the completion queues to the read commands added to the at least one submission queue.

In Example 10, the subject matter of Examples 1-9 can optionally include programmable hardware logic coupled to a bus interface further coupled to the host processor and the storage devices.

Example 11 is a system connected to a host processor and a plurality of storage devices, comprising a plurality of hardware accelerators configured to operate as a single systolic array to manage read and write operations with respect to a group of the storage devices. The hardware accelerators operate in parallel or serial with respect to the group of the storage devices. Each of the hardware accelerators configured in the single systolic array comprise a memory space including read buffers and write buffers for the storage devices and control logic. The control logic receives, from the host processor, a command descriptor indicating at least one source storage device of the group of the storage devices having transfer data to transfer to at least one destination storage device of the group of the storage devices and a computational task to perform on the transfer data. The control logic sends read commands to the at least one source storage device to read the transfer data to at least one read buffer in the memory space and performs the computational task on the transfer data in the at least one read buffer to produce modified transfer data. The control logic writes the modified transfer data to at least one write buffer in the memory space to cause the modified transfer data to be written to the at least one destination storage device.

In Example 12, the subject matter of Example 11 can optionally include that one of the hardware accelerators in the single systolic array receives the command descriptor and forward processing results to at least one other hardware accelerator in the single systolic array to perform processing operations to complete the command descriptor.

Example 13 is a system in communication with a host processor, comprising Dual In-line Memory Modules (DIMMs) implementing a memory space of the host processor, a plurality of storage devices, and a hardware device. The hardware device comprises a memory space including read buffers and write buffers for the storage devices providing an extension of the memory space of the host processor and control logic. The control logic receives, from the host processor, a command descriptor indicating at least one source storage device having transfer data to transfer to at least one destination storage device and a computational task to perform on the transfer data. The control logic sends read commands to the at least one source storage device to read the transfer data to at least one read buffer in the memory space and performs the computational task on the transfer data in the at least one read buffer to produce modified transfer data. The control logic writes the modified transfer data to at least one write buffer in the memory space to cause the modified transfer data to be written to the at least one destination storage device.

In Example 14, the subject matter of Examples 13 and 15-19 can optionally include that the command descriptor includes a pointer to information on addresses of the transfer data in the at least one of the source and destination storage devices in a host memory space of the host processor.

In Example 15, the subject matter of Examples 13, 14 and 16-19 can optionally include that the command descriptor includes a source pointer to source information in a host memory space of the host processor indicating the transfer data in a plurality of source storage devices and a destination pointer to destination information in the host memory space having locations in a plurality of destination storage devices to which the transfer data is transferred.

In Example 16, the subject matter of Examples 13-15 and 17-19 can optionally include that the source information includes a plurality of source entries for a plurality of source storage devices. Each source entry indicates an address range of a source storage device of the plurality of source storage devices having a portion of the transfer data. The destination information includes a plurality of destination entries for a plurality of destination storage devices, corresponding to the source entries. Each destination entry indicates destination addresses in a destination storage device of the plurality of destination storage devices to which the portion of the transfer data indicated in a corresponding source entry is transferred.

In Example 17, the subject matter of Examples 13-16 and 18-19 can optionally include that each of the source entries further includes a source queue doorbell address in one of the source storage devices and each of the destination entries includes a destination queue doorbell address in one of the destination storage devices. The control logic writes to a source queue doorbell address indicated in a selected source entry of the source information to cause the source storage device having the source queue doorbell address to transfer a portion of the transfer data indicated in the address range of the selected source entry. The control logic writes to a destination queue doorbell address indicated in a selected destination entry of the destination information to cause a destination storage device having the destination queue doorbell address to write the portion of the transfer data to the address range of the destination storage device indicated in the selected destination entry.

In Example 18, the subject matter of Examples 13-17 and 19 can optionally include that the control logic is further to receive configuration commands from the host processor to extend the memory space of the host processor. The read and the write buffers are configured in the mapped addresses in the memory space, and wherein the mapped addresses in the memory space extend a host memory space.

In Example 19, the subject matter of Examples 13-18 can optionally include that the control logic is further to receive, from the host processor, configuration commands to cause the control logic to configure read and write buffers in a memory space and configure submission queues in the memory space. The control logic adds the read commands to the submission queues to cause source storage devices to transfer data to the read buffers and adds write commands to submission queues for the transfer data in the write buffers to cause destination storage devices to write the transfer data in the write buffers to the destination storage devices.

Example 20 is a method for transferring data among storage devices. A command descriptor is received from a host processor indicating at least one source storage device having transfer data to transfer to at least one destination storage device and a computational task to perform on the transfer data. Read commands are sent to the at least one source storage device to read the transfer data to at least one read buffer in a memory space including read buffers and write buffers for the storage devices. The computational task is performed on the transfer data in the at least one read buffer to produce modified transfer data. The modified transfer data is written to at least one write buffer in the memory space to cause the modified transfer data to be written to the at least one destination storage device.

In Example 21, the subject matter of Examples 20 and 22-25 can optionally include that the command descriptor includes a pointer to information on addresses of the transfer data in the at least one of the source and destination storage devices in a host memory space of the host processor.

In Example 22, the subject matter of Examples 20, 21 and 23-25 can optionally include that the command descriptor includes a source pointer to source information in a host memory space of the host processor indicating the transfer data in a plurality of source storage devices and a destination pointer to destination information in the host memory space having locations in a plurality of destination storage devices to which the transfer data is transferred.

In Example 23, the subject matter of Examples 20-22 and 24-25 can optionally include that the source information includes a plurality of source entries for a plurality of source storage devices. Each source entry indicates an address range of a source storage device of the plurality of source storage devices having a portion of the transfer data. The destination information includes a plurality of destination entries for a plurality of destination storage devices, corresponding to the source entries, wherein each destination entry indicates destination addresses in a destination storage device of the plurality of destination storage devices to which the portion of the modified transfer data indicated in a corresponding source entry is transferred.

In Example 24, the subject matter of Examples 20-23 and 25 can optionally include receiving configuration commands from the host processor to extend the memory space of the host processor. The read and the write buffers are configured in the mapped addresses in the memory space, and wherein the mapped addresses in the memory space extend a host memory space.

In Example 25, the subject matter of Examples 20-24 can optionally include receiving, from the host processor, configuration commands to cause operations comprising configuring read and write buffers in a memory space and configuring submission queues in the memory space. The read commands are added to the submission queues to cause source storage devices to transfer data to the read buffers and adds write commands to submission queues for the transfer data in the write buffers to cause destination storage devices to write the transfer data in the write buffers to the destination storage devices.

Example 26 is an apparatus comprising means to perform a method as claimed in any preceding claim.

Example 27 is a machine-readable storage including machine-readable instructions, when executed, to implement a method or realize an apparatus as claimed in any preceding claim. 

1-19. (canceled)
 20. A hardware accelerator comprising: a memory space to include read buffers and write buffers for a plurality of storage devices having respective storage device controllers, the plurality of storage devices coupled with and separate from the hardware accelerator; and control logic to: receive, from a host processor coupled with the hardware accelerator, a command descriptor that indicates a source storage device having data to modify and store to a destination storage device and a computational task to perform on the data, the source storage device and the destination storage device included in the plurality of storage devices; send at least one read command to the source storage device to cause the source storage device to store the data in at least one read buffer in the memory space; perform the computational task using the data stored in the at least one read buffer to modify the data; and write the modified data to at least one write buffer in the memory space to cause the modified data to be stored to the destination storage device.
 21. The hardware accelerator of claim 20, comprising the command descriptor to also include: a source pointer to source information in a host memory space of the host processor, the source information to indicate a source address location for the data maintained at the source storage device; and a destination pointer to destination information in the host memory space, the destination pointer to indicate a destination address location to which the modified data is to be stored at the destination storage device.
 22. The hardware accelerator of claim 21, further comprising: the source information to include a source entry for the source storage device, the source entry to indicate a source address range of the source storage device that stores the data; and the destination information to include a destination entry for the destination storage device, the destination entry to indicate a destination address range of the destination storage device to which the modified data is to be stored at the destination storage device.
 23. The hardware accelerator of claim 22, further comprising the source entry to also include a source queue doorbell address for the source storage device and the destination entry to also include a destination queue doorbell address for destination storage device, wherein the control logic is further to: write information to the source queue doorbell address indicated in the source entry to cause the source storage device to transfer the data stored in the source address range; and write information to the destination queue doorbell address indicated in the destination entry to cause the modified data to be stored to the destination storage device.
 24. The hardware accelerator of claim 20, further comprising the control logic to receive a configuration command from the host processor to extend a memory space of the host processor, wherein the read and the write buffers are configured in mapped addresses in the memory space, and wherein the mapped addresses in the memory space extends the memory space of the host processor.
 25. The hardware accelerator of claim 20, further comprising the control logic to receive, from the host processor, configuration commands, the configuration commands to cause the control logic to: configure read and write buffers in the memory space; and configure submission queues in the memory space, wherein the control logic adds the read command to a first submission queue of the submission queues to cause the source storage device to transfer data to the read buffers and adds the write command to a second submission queue of the submission queues to cause the destination storage device to obtain the modified data from the write buffers to store the modified data to the destination storage device.
 26. The hardware accelerator of claim 20, the control logic comprises a field programmable gate array (FPGA).
 27. The hardware accelerator of claim 20, the control logic comprises an application specific integrated circuit (ASIC).
 28. A system comprising: dual in-line memory modules (DIMMs) to support a system memory space of a host processor; a plurality of storage device having respective storage device controllers; and a hardware accelerator that includes: a memory space to include read buffers and write buffers for the plurality of storage devices; and control logic to: receive, from the host processor, a command descriptor that indicates a source storage device maintains data to modify, a destination storage device and a computational task to perform on the data, the source storage device and the destination storage device included in the plurality of storage devices; send at least one read command to the source storage device to cause the source storage device to store the data in at least one read buffer in the memory space; perform the computational task using the data stored in the at least one read buffer to modify the data; and write the modified data to at least one write buffer in the memory space to cause the modified data to be stored to the destination storage device.
 29. The system of claim 28, comprising the command descriptor to also include: a source pointer to source information in the system memory space of the host processor, the source information to indicate a source address location for the data maintained at the source storage device; and a destination pointer to destination information in the system memory space of the host processor, the destination pointer to indicate a destination address location to which the modified data is to be stored at the destination storage device.
 30. The system of claim 29, further comprising: the source information to include a source entry for the source storage device, the source entry to indicate a source address range of the source storage device that stores the data; and the destination information to include a destination entry for the destination storage device, the destination entry to indicate a destination address range of the destination storage device to which the modified data is to be stored at the destination storage device.
 31. The system of claim 30, further comprising the source entry to also include a source queue doorbell address for the source storage device and the destination entry to also include a destination queue doorbell address for destination storage device, wherein the control logic is further to: write information to the source queue doorbell address indicated in the source entry to cause the source storage device to transfer the data stored in the source address range; and write information to the destination queue doorbell address indicated in the destination entry to cause the modified data to be stored to the destination storage device.
 32. The system of claim 28, further comprising the control logic to: receive a configuration command from the host processor to extend the system memory space of the host processor, wherein the read and the write buffers are configured in mapped addresses in the memory space, and wherein the mapped addresses in the memory space extends the system memory space of the host processor.
 33. The system claim 28, further comprising the control logic to receive, from the host processor, configuration commands, the configuration commands to cause the control logic to: configure read and write buffers in the memory space; and configure submission queues in the memory space, wherein the control logic adds the read command to a first submission queue of the submission queues to cause the source storage device to transfer data to the read buffers and adds the write command to a second submission queue of the submission queues to cause the destination storage device to obtain the modified data from the write buffers to store the modified data to the destination storage device.
 34. A method implemented at a hardware accelerator, comprising: providing a memory space to include read buffers and write buffers for a plurality of storage devices having respective storage device controllers, the plurality of storage devices coupled with and separate from the hardware accelerator; receiving, from a host processor coupled with the hardware accelerator, a command descriptor that indicates a source storage device having data to modify and store to a destination storage device and a computational task to perform on the data, the source storage device and the destination storage device included in the plurality of storage devices; sending at least one read command to the source storage device to cause the source storage device to store the data in at least one read buffer in the memory space; implementing the computational task using the data stored in the at least one read buffer to modify the data; and writing the modified data to at least one write buffer in the memory space to cause the modified data to be stored to the destination storage device.
 35. The method of claim 34, comprising the command descriptor to also include: a source pointer to source information in a host memory space of the host processor, the source information to indicate a source address location for the data maintained at the source storage device; and a destination pointer to destination information in the host memory space, the destination pointer to indicate a destination address location to which the modified data is to be stored at the destination storage device.
 36. The method of claim 35, further comprising: the source information to include a source entry for the source storage device, the source entry to indicate a source address range of the source storage device that stores the data; and the destination information to include a destination entry for the destination storage device, the destination entry to indicate a destination address range of the destination storage device to which the modified data is to be stored at the destination storage device.
 37. The method of claim 36, further comprising the source entry to also include a source queue doorbell address for the source storage device and the destination entry to also include a destination queue doorbell address for destination storage device, wherein the method is further to include: writing information to the source queue doorbell address indicated in the source entry to cause the source storage device to transfer the data stored in the source address range; and writing information to the destination queue doorbell address indicated in the destination entry to cause the modified data to be stored to the destination storage device.
 38. The method of claim 34, further comprising: receiving a configuration command from the host processor to extend a memory space of the host processor, wherein the read and the write buffers are configured in mapped addresses in the memory space, and wherein the mapped addresses in the memory space extends the memory space of the host processor.
 39. The method of claim 34 further comprising: receiving, from the host processor, configuration commands and responsive to receiving the configuration commands: configuring read and write buffers in the memory space; and configuring submission queues in the memory space, wherein adding the read command to a first submission queue of the submission queues causes the source storage device to transfer data to the read buffers and adding the write command to a second submission queue of the submission queues to causes the destination storage device to obtain the modified data from the write buffers to store the modified data to the destination storage device. 